cc=g++
LD=-DMYSELF  #makefile 里面(命令行里面)，宏的写法
.PHONY:all
all:calserver calclient

calclient:CalClient.cc
	$(cc) -o $@ $^ -std=c++11 -ljsoncpp #${LD}

calserver:CalServer.cc
	$(cc) -o $@ $^ -std=c++11 -ljsoncpp #${LD}

.PHONY:clean
clean:
	rm -f calclient calserver
